import flowRight from 'lodash/flowRight.js'

const add = (x, y) => x + y
const double = x => x * 2

const f1 = flowRight(console.log, double, add)

f1(1,2)